package cn.wolfcode.wolf2world.elasitcsearch.service.impl;

import cn.wolfcode.wolf2world.elasitcsearch.domain.DestinationEs;
import cn.wolfcode.wolf2world.elasitcsearch.repository.DestinationEsRepository;
import cn.wolfcode.wolf2world.elasitcsearch.service.DestinationEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 杨兴健
 * @Date 2020/8/20 12:57
 */
@Service
public class DestinationEsServiceImpl implements DestinationEsService {
    @Autowired
    private DestinationEsRepository destinationEsRepository;

    @Override
    public void save(DestinationEs destinationEs) {
        destinationEsRepository.save(destinationEs);
    }
}
